package com.ruoyi.test;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import com.ruoyi.common.core.domain.AjaxResult;

@RequestMapping("/api/v1/system")
@RestController
public class MyController {

	@Autowired
	@Qualifier("myClassA")
	private MyInterface myInterface;
	
	@GetMapping(value = "/myTest")
	public AjaxResult test() {
		myInterface.doSomething();
		return AjaxResult.success();
	}
}
